import request from '@/utils/request'

// 支付
export const pay = (data) => {
  return request({
      url: 'alipay/pay',
      method: 'post',
      data
  });
}

// 查询交易订单
export const query = (data) => {
  return request({
      url: 'alipay/query',
      method: 'get',
      data
  });
}
// 查询交易订单
export const callback = (data) => {
  return request({
      url: 'alipay/callback',
      method: 'get',
      data
  });
}